package com.pmp.vo;

import java.io.Serializable;
import java.util.List;

/**
 * @description: activiti节点转换为OrgChart节点
 * @author: pmq
 * @time: 2017-05-29 16:47
 */
public class OrgChart implements Serializable{
    private String id;
    private String keyId;
    private String parentKeyId;
    private String name;
    private String title;
    private String className;
    private List<OrgChart> children;
    private OrgChart parent;

    public OrgChart() {
        super();
    }

    public OrgChart(String id, String keyId, String parentKeyId, String name) {
        this.id = id;
        this.keyId = keyId;
        this.parentKeyId = parentKeyId;
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getKeyId() {
        return keyId;
    }

    public void setKeyId(String keyId) {
        this.keyId = keyId;
    }

    public String getParentKeyId() {
        return parentKeyId;
    }

    public void setParentKeyId(String parentKeyId) {
        this.parentKeyId = parentKeyId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public List<OrgChart> getChildren() {
        return children;
    }

    public void setChildren(List<OrgChart> children) {
        this.children = children;
    }

    public OrgChart getParent() {
        return parent;
    }

    public void setParent(OrgChart parent) {
        this.parent = parent;
    }
}
